Statusbar: Remove matching messages before popping
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 12 Feb 2014 15:56:11 +0000 (15:56 +0000)
committerBenjamin Otte <otte@redhat.com>
Thu, 14 Aug 2014 17:52:59 +0000 (19:52 +0200)
commite853007cd0186e141559b967af852156477092b3
tree827d048846f718e394383ac3b94faf4f5458d7c6
parent2120ccfd5e87dd7a86bf8736616b75454ef02f6e
Statusbar: Remove matching messages before popping

gtk_statusbar_remove_all() was popping the top message if its
context_id matched before removing other matching messages from the
stack. This meant that if the context_id of the second top message
matched it was still displayed when the top message was popped and
then removed from the list of messages without updating the display.
Fix this by removing all the matching messages below the top one
before popping it if it matches.

https://bugzilla.gnome.org/show_bug.cgi?id=724281
gtk/gtkstatusbar.c